package com.charger.transactionflow.mapper;

import java.util.List;
import com.charger.transactionflow.domain.Transactionflow;
import org.apache.ibatis.annotations.Mapper;

/**
 * 账单流水Mapper接口
 * 
 * @author ruoyi
 * @date 2024-11-23
 */
@Mapper
public interface TransactionflowMapper 
{
    /**
     * 查询账单流水
     * 
     * @param transactionflowId 账单流水主键
     * @return 账单流水
     */
    public Transactionflow selectTransactionflowByTransactionflowId(Long transactionflowId);

    /**
     * 查询账单流水列表
     * 
     * @param transactionflow 账单流水
     * @return 账单流水集合
     */
    public List<Transactionflow> selectTransactionflowList(Transactionflow transactionflow);

    /**
     * 新增账单流水
     * 
     * @param transactionflow 账单流水
     * @return 结果
     */
    public int insertTransactionflow(Transactionflow transactionflow);

    /**
     * 修改账单流水
     * 
     * @param transactionflow 账单流水
     * @return 结果
     */
    public int updateTransactionflow(Transactionflow transactionflow);

    /**
     * 删除账单流水
     * 
     * @param transactionflowId 账单流水主键
     * @return 结果
     */
    public int deleteTransactionflowByTransactionflowId(Long transactionflowId);

    /**
     * 批量删除账单流水
     * 
     * @param transactionflowIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTransactionflowByTransactionflowIds(Long[] transactionflowIds);
}
